package com.yitao.cms.model.operationUser;

import com.skipper.base.data.domain.BaseEntity;
import lombok.Data;

import javax.persistence.*;
import java.util.Date;

/**
 * 运营后台用户
 * @Author: Tqq
 * @Date: 2018/12/22 14:35
 */
@Data
@Entity
@Table(name="t_operation_user")
public class OperationUserCmsModel extends BaseEntity {

    private static final long serialVersionUID = -7595440595121600092L;
    /**
     *  id
     *  @mbggenerated
     */
    @Id
    @Column(name = "id", columnDefinition = "BIGINT")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    /**
     *  用户名
     *  @mbggenerated
     */
    private String userName;

    /**
     *  电话
     *  @mbggenerated
     */
    private String phone;

    /**
     *  用户密码
     *  @mbggenerated
     */
    private String password;

    /**
     * 门店id
     */
    private Long shopId;

    /**
     *  用户头像
     *  @mbggenerated
     */
    private String avatarPath;

    /**
     * 备注
     */
    private String remarks;

    /**
     *  状态(0:无效 1:有效)
     *  @mbggenerated
     */
    private Boolean state;

    /**
     *  是否删除(0:否 1:是)
     *  @mbggenerated
     */
    private Boolean isDelete;

    /**
     *  创建人
     *  @mbggenerated
     */
    private Long createBy;

    /**
     *  创建时间
     *  @mbggenerated
     */
    private Date createTime;

    /**
     *  最后修改人
     *  @mbggenerated
     */
    private Long lastUpdateBy;

    /**
     *  最后修改时间
     *  @mbggenerated
     */
    private Date lastUpdateTime;

}
